package com.design.design.pattern.creational.factory.factorymethod;

/**
 * @author TomDragon
 */
public class Test {
    public static void main(String[] args) {


        JavaVideoFactory javaVideoFactory = new JavaVideoFactory();
        Video javaVideo = javaVideoFactory.getVideo();
        javaVideo.produce();

        PythonVideoFactory pythonVideoFactory = new PythonVideoFactory();
        Video pythonVideo = pythonVideoFactory.getVideo();
        pythonVideo.produce();

    }
}
